<div class="login_sign_up">
    <div class="nine columns">

        <div class="box_head">
            <h3>Pengguna Baru </h3>
        </div>

        <p style="text-align: justify;"> Dengan membuat akun dengan keluar toko, Anda akan mampu 
            bergerak melalui proses checkout cepat, Simpan adreeses pengiriman
            ganda, melihat dan melacak pesanan Anda dalam account Anda dan banyak lagi.
        </p>
        
        <?php
        if ($log_sukses != 1) {

            $atr = array('id' => 'formID',
                'class' => 'formular');
            echo form_open('main/login_signup/simpan/', $atr);
            ?> 

            <?php
            if ($log_sukses == "666") {
                ?>
                <section id="tagLine" class="clearfix">
                    <div class="twelve columns">
                        <h5>
                            ERROR !!!  <br>
                            <small>Email yang anda masukan sudah terdaptar.</small>
                        </h5>
                    </div>
                </section>
            <?php } ?>
            <table>
                <tr>
                    <td width="30%"><p>Email</p></td>
                    <td><p>:</p></td>
                    <td><input type="text" size="35" name="email" id="email"  class="validate[required,custom[email]] text-input"/></td>
                </tr>
                <tr>
                    <td><p>Password</p></td>
                    <td><p>:</p></td>
                    <td><input type="password" size="20" id="password" name="password" class="validate[required,minSize[6]] text-input"/></td>
                </tr>
                <tr>
                    <td><p>Re-Password</p></td>
                    <td><p>:</p></td>
                    <td><input type="password" size="20" id="re_password" name="re_password" class="validate[required,equals[password]] text-input"/> </td>
                </tr>
                <tr>
                    <td><p>Nama Depan</p></td>
                    <td><p>:</p></td>
                    <td><input type="text" size="30" name="nama_depan" id="nama_depan" class="validate[required] text-input"/></td>
                </tr>
                <tr>
                    <td><p>Nama Belakang</p></td>
                    <td><p>:</p></td>
                    <td><input type="text" size="30" name="nama_belakang" id="nama_belakang"/></td>
                </tr>
                <tr>
                    <td><p>Provinsi</p></td>
                    <td><p>:</p></td>
                    <td>
                        <select name="provinsi" id="provinsi" class="validate[required] text-input">
                            <option value="">Pilih Provinsi : </option>
                            <?php
                            foreach ($list_provinsi as $dtprov) {
                                echo "<option value='$dtprov->id'>$dtprov->nama_provinsi</option>";
                            }
                            ?>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td><p>Kota</p></td>
                    <td><p>:</p></td>
                    <td>
                        <select name="kota" id="kota" class="validate[required] text-input">
                            <option value="">Pilih Kota : </option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td><p>Alamat</p></td>
                    <td><p>:</p></td>
                    <td><input type="text" size="50" name="alamat" id="alamat" class="validate[required] text-input"/></td>
                </tr>
                <tr>
                    <td><p>Kode Pos</p></td>
                    <td><p>:</p></td>
                    <td><input type="text" size="10" name="kode_pos" id="kode_pos" class="validate[required] text-input"/> </td>
                </tr>
                <tr>
                    <td><p>Telp</p></td>
                    <td><p>:</p></td>
                    <td><input type="text" size="20" name="telp" id="telp" class="validate[required] text-input"/></td>
                </tr>
            </table>
            <br/>
            <input type="submit" value="Buat Akun Baru" class="red_btn"/>
            <div class="clear"></div>
            </form>
            <?php
        } else {
            ?>
            <section id="tagLine" class="clearfix">
                <div class="twelve columns">
                    <h5>
                        Terima Kasih,,,  !!!  <br>
                        <small>Anda sudah terdaptar menjadi member kami, silahkan login.</small>
                    </h5>
                </div>
            </section><br/><br/> <br/><br/>


        <?php } ?>
    </div>

    <div class="seven columns">

        <div class="box_head">
            <h3>MEMBER WEBSITE </h3>
        </div>

        <p> Jika Anda memiliki account dengan kami, silahkan login. </p>

        <?php
        $atr = array('id' => 'formID2',
            'class' => 'formular2');
        echo form_open('main/login_signup/otentikasi/', $atr);
        ?> 
        <table>
            <tr>
                <td width="30%"><p>Email</p></td>
                <td><p>:</p></td>
                <td><input type="text" size="35" name="email" id="email"/> </td>
            </tr>
            <tr>
                <td><p>Password</p></td>
                <td><p>:</p></td>
                <td><input type="password" size="20" name="password" id="password"/></td>
            </tr>
        </table>

        <br/>
        <input type="submit" value="Masuk Akun" class="red_btn"/>
        <em> <?php echo $error; ?> </em> 
        </form>
    </div>
</div>